package com.acme.bankapp.service.bank;
import com.acme.bankapp.domain.bank.*;

public class BankService {

	public static void addClient(Bank bank, Client client) throws NullPointerException {
		if (bank == null)
			throw new NullPointerException("Object reference do not set to an instance of Bank object");
		if (client == null)
			throw new NullPointerException("Object reference do not set to an instance of Client object");
		
		bank.addClient(client);		
	}
}
